package cn.flying.cloud.base.mybatis.configuration;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Component;

/**
 * PageHelper配置
 *
 * @author: admin
 * @date: 2024年02月19日 23:12
 * @version: 1.0
 */
@Component
public class PageHelperConfiguration implements InitializingBean {

    @Override
    public void afterPropertiesSet() throws Exception {
        //关闭Banner
        System.setProperty("pagehelper.banner", "false");
    }
}
